package com.zone.domain.credit.model.aggregate;

import com.zone.domain.credit.model.entity.UserCreditOrderEntity;
import com.zone.domain.credit.model.valobj.TradeTypeEnum;
import com.zone.domain.task.model.entity.TaskEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author: zongzi
 * @description: 积分变更聚合对象
 * @date: 2025/3/11
 */
@Data
public class CreditAdjustAggregate {
    /** 用户id */
    private String userId;
    /** 交易类型（新增积分/扣减积分） */
    private TradeTypeEnum tradeTypeEnum;
    /** 交易金额 */
    private BigDecimal amount;
    /** 用户积分流水单 */
    private UserCreditOrderEntity userCreditOrderEntity;
    /** mq任务 */
    private TaskEntity taskEntity;
}
